package com.example.common;

public class BusinessRuntimeException extends RuntimeException {
    String code;
    String message;

    public BusinessRuntimeException(){
        super();
    }

    public BusinessRuntimeException(String code, String message){
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
